<template>
	<view class="container">
		<view class="logo">
			<image :src="app.siteInfo.logo" mode="aspectFit"></image>
		</view>
		<view class="name">
			{{app.siteInfo.title}}
		</view>
		<view class="version">
			当前版本：{{app.version}}
		</view>
	</view>
</template>

<script>
	import {mapState, mapMutations} from 'vuex';
	export default {
		data() {
			return {
			};
		},
		computed: {
			...mapState(['app', 'user'])
		},
		onLoad() {
		},
		methods:{
			navTo(url){
				uni.navigateTo({
					url: url
				})
			}
		}
	}
</script>

<style lang='scss'>
	page {
		background: $page-color-base;
		.container {
			text-align: center;
			.logo {
				image {
					width: 160px;
				}
			}
		}
	}
</style>
